Create
This endpoint allows integrators register their users into MeetingDoctors' platform in order to authenticate them to the SDKs.
Request
POST https://customer.staging.meetingdoctors.com/api/v3/pendingCompanyUsers
Headers
Name | Value |
---|---|
apiKey | Integration identifier provided by MeetingDoctors |
secretKey | Security key provided by MeetingDoctors to securize server-to-server communications |
Content-Type | application/json |
Accept | application/json |
Request body
Parameters
Name | Required | Type | Value |
---|---|---|---|
token | True | String | Your user unique identifier |
status | True | Numeric | 0: Free, 2: Premium, 3: No Access |
email | False | String | A valid email |
nid_number | False | String | A valid dni or nie |
firstname | False | String | User's first name |
lastname | False | String | User's last name |
gender | False | Numeric | 0:Male, 1:Female |
birthdate | False | Date | ISO8601 Date (YYYY-MM-DD) |
description | False | String | Extra user information provided by integrator |
has_video_call | False | Numeric | 0:Disabled, 1:Enabled |
has_video_call_1to1 | False | Numeric | 0:Disabled, 1:Enabled |
company_group_code | False | String | Code key that will be provided by MeetingDoctors |
Example
{
"token": "12345678Z",
"email": "soporte@meetingdoctors.com",
"nid_number": "12345678Z",
"firstname": "Soporte",
"lastname": "MeetingDoctors",
"status": 2,
"gender": 0,
"birthdate": "1990-01-01",
"description": "",
"has_video_call": 1,
"has_video_call_1to1": 1,
"company_group_code": ""
}